package com.ruoyi.acs.tr069.base;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class Log {
  private static final Logger eventLog = LoggerFactory.getLogger("Event");
  private static final Logger convLog = LoggerFactory.getLogger("Conversation");
  private static final Logger debugLog = LoggerFactory.getLogger("Debug");

  public static void conversation(SessionDataI sessionData, String message) {
    convLog.info(message);

  }

  public static boolean isConversationLogEnabled() {
    return convLog.isDebugEnabled() || convLog.isInfoEnabled();
  }

  public static void event(String message) {
    eventLog.info(message);
  }
}
